package lion.framework.core.json.handler;

import java.io.IOException;
import java.io.Writer;
import java.util.UUID;

import lion.framework.core.json.anno.JsonHandler;
import lion.json.IJsonHandler;

@JsonHandler(UUID.class)
public class UUIDHandler implements IJsonHandler {

	@Override
	public void handle(Object obj, Writer writer) throws IOException {

		writer.write("\"" + obj.toString() + "\"");
	}
}
